/*
* Copyright 2016 YONYOU Corporation Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project         marketing

* @Package         com.yonyou.marketing.message.push.entrance

* @Author          LuZhen

* @FileName        MessageProtocolSender

* @Date            16/11/9

----------------------------------------------------------------------------------
*     Date          Who             Version         Comments
* 1. 16/11/9        LuZhen          1.0             Create Source
*
----------------------------------------------------------------------------------
*/
package org.marketing.common.entity.wechatpushmessage;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class WeChatMessageProtocolSender {


    /**
     * 推送者系统名称
     * 必填
     */
    @NotNull
    private String originApplicationName;
    
    private String dealerCode;

    /**
     *  推送者机器名
     *  必填
     */
    @NotNull
    private String originApplicationHost;

    public String getOriginApplicationName() {
        return originApplicationName;
    }

    public void setOriginApplicationName(String originApplicationName) {
        this.originApplicationName = originApplicationName;
    }

    public String getOriginApplicationHost() {
        return originApplicationHost;
    }

    public void setOriginApplicationHost(String originApplicationHost) {
        this.originApplicationHost = originApplicationHost;
    }

    //

    /**
     * 发起推送时间的事件
     * 必填，由业务系统给出
     */
    @NotNull
    private Date pushDate;

    public Date getPushDate() {
        return pushDate;
    }

    public void setPushDate(Date pushDate) {
        this.pushDate = pushDate;
    }

    @NotNull
    private String clientAppId;

    public String getClientAppId() {
        return clientAppId;
    }

    public void setClientAppId(String clientAppId) {
        this.clientAppId = clientAppId;
    }

    @Override
    public String toString() {
        return "WeChatMessageProtocolSender{" +
                "originApplicationName='" + originApplicationName + '\'' +
                ", originApplicationHost='" + originApplicationHost + '\'' +
                ", pushDate=" + pushDate +
                ", clientAppId='" + clientAppId + '\'' +
                '}';
    }

    
    /**
     * @return the dealerCode
     */
    public String getDealerCode() {
        return dealerCode;
    }

    
    /**
     * @param dealerCode the dealerCode to set
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    
    
}
